
#if !defined(_BRICK_H)
#define _BRICK_H

#include "ScreenElement.h"

class Brick : public ScreenElement {
  
  private:
	int width;
	int height;

  public:

	Brick(); 
	virtual ~Brick(); 

	int getWidth();
	void setWidth(int width);

	int getHeight();
	void setHeight(int height);

    void update();
	void collide(ScreenElement* e, Point puntoChoque);
	void draw(SDL_Surface* screen);

};

#endif  //_BRICK_H
